package com.coscoshipping.rams.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaoyin.yang
 * @since 2025-04-19
 */
@Getter
@Setter
@TableName("business_sales_statistics")
@Schema(name = "BusinessSalesStatistics", description = "")
public class BusinessSalesStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "业态")
    @TableField("itemname")
    private String itemname;

    @Schema(description = "项目")
    @TableField("groupname")
    private String groupname;

    @Schema(description = "本日合计")
    @TableField("today_sum")
    private BigDecimal todaySum;

    @Schema(description = "本日合计（税后）")
    @TableField("today_sum_after")
    private BigDecimal todaySumAfter;

    @Schema(description = "当月累计")
    @TableField("month_sum")
    private BigDecimal monthSum;

    @Schema(description = "当月累计（税后）")
    @TableField("month_sum_after")
    private BigDecimal monthSumAfter;

    @Schema(description = "下单时间")
    @TableField("tabulation_time")
    private LocalDateTime tabulationTime;

    public static final String ID = "id";

    public static final String ITEMNAME = "itemname";

    public static final String GROUPNAME = "groupname";

    public static final String TODAY_SUM = "today_sum";

    public static final String TODAY_SUM_AFTER = "today_sum_after";

    public static final String MONTH_SUM = "month_sum";

    public static final String MONTH_SUM_AFTER = "month_sum_after";

    public static final String TABULATION_TIME = "tabulation_time";
}
